Public Member Functions | |
| GallerySettings () | |
| secureAssign (&$localvar, &$DATA_postvar) | |
| ProcessInput () | |
| ProcessForm () | |
| PrintForm () | |
| get_maxwidth () | |
| get_maxheight () | |
| get_maxfilesize () | |
| get_maximages () | |
| get_slidetime () | |
Data Fields | |
| $maxwidth | |
| $maxheight | |
| $maxfilesize | |
| $maximages | |
| $slidetime | |
Definition at line 28 of file class.gallerysettings.inc.php.
| GallerySettings | ( | ) |
Dieser Konstruktor lädt die Einstellungen der Klasse aus der Datenbank oder erzeugt die Standard-Daten, wenn nichts in der Datenbank gefunden wird.
Definition at line 38 of file class.gallerysettings.inc.php.
| get_maxfilesize | ( | ) |
Definition at line 156 of file class.gallerysettings.inc.php.
| get_maxheight | ( | ) |
Definition at line 151 of file class.gallerysettings.inc.php.
| get_maximages | ( | ) |
Definition at line 161 of file class.gallerysettings.inc.php.
| get_maxwidth | ( | ) |
Definition at line 146 of file class.gallerysettings.inc.php.
| get_slidetime | ( | ) |
Definition at line 166 of file class.gallerysettings.inc.php.
| PrintForm | ( | ) |
Die Funktion gibt das Formular mit den aktuellen Einstellungen aus.
Die gespeicherten float Werte werden ins Deutsche konvertiert mit einem Komman anstatt einem Punkt.
Definition at line 116 of file class.gallerysettings.inc.php.
| ProcessForm | ( | ) |
Ruft ProcessInput() und PrintForm() auf. Sie sollte verwendet werden, wenn das Formular ausgegeben werden soll, denn sie Prüft somit gleich die Eingaben dafür.
Definition at line 106 of file class.gallerysettings.inc.php.
| ProcessInput | ( | ) |
Diese Funktion überprüft ob das Formular Eingaben empfangen hat. Wenn der User die erforderlichen Rechte besitzt werden die Enstellungen in die Datenbank geschrieben.
Zusätzlich überprüft sich ob die neuen Eigenschaften gültig sind und innerhalb ihrer Wertegrenzen liegen. Wenn nicht, dann werden sie zur nähesten Grenze gerundet.
Definition at line 74 of file class.gallerysettings.inc.php.
| secureAssign | ( | &$ | localvar, | |
| &$ | DATA_postvar | |||
| ) |
Diese Funktion überprüft, ob die Eingaben in DATA_postvar gültig sind und falls ja, dann weist sie die Daten der localval zu.
| localvar | ist die Variable, der die Daten zugewiesen werden sollen | |
| DATA_postvar | ist ein Objekt von Typ Data, welches auf Gültigkeit überprüft wird |
Definition at line 63 of file class.gallerysettings.inc.php.
| $maxfilesize |
Definition at line 31 of file class.gallerysettings.inc.php.
| $maxheight |
Definition at line 30 of file class.gallerysettings.inc.php.
| $maximages |
Definition at line 32 of file class.gallerysettings.inc.php.
| $maxwidth |
Definition at line 29 of file class.gallerysettings.inc.php.
| $slidetime |
Definition at line 33 of file class.gallerysettings.inc.php.
1.5.8